<!doctype html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Inbox</title>


<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<script>

</script>
<header  id="Menu" style="width:100%; height:25px;margin-top:4px;">
<div>
	<input type="submit" value="Map" id="Map"  name="Map" style="width:75px;height:25px" onclick="window.location='/'"/>
	<input type="submit" value="Friends" id="Friends"  name="Friends" style="width:75px;height:25px" onclick="window.location='/friends/'"/>
	<input type="submit" value="Inbox" id="Inbox" name="Inbox" style="width:75px;height:25px" onclick="window.location='/inbox/'"/>
	<input type="submit" value="Everybody" id="Everybody"  name="Everybody" style="width:75px;height:25px" onclick="window.location='/everybody/'"/>
	<input type="submit" value="Logout" id="Logout"  name="Logout" style="width:75px;height:25px" onclick="window.location='/logout/'"/>
</div>
</header>
<div id="chat-list">
<p><strong>
Inbox
</strong></p>
<table cellspace="10">
<th> From </th><th> Date </th>
{% for msg in messages %}
<tr>
	<td><a href="/chat/{{ msg.source }}">{{ msg.source }}</a></td>
	<td> {{ msg.timestamp }} </td>
</tr>
{% endfor %}
</table>
</div>

</body>
</html>
